package com.ruoyi.college.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.List;

/**
 * 授课老师安排对象 t_course_teacher
 * 
 * @author ruoyi
 * @date 2025-08-26
 */
public class CourseTeacher extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 授课老师安排ID */
    private Long id;

    /** 课程安排ID */
    @Excel(name = "课程安排ID")
    private Long arrangementId;

    private Long courseId;

    @Excel(name = "安排课程名称")
    private String courseName;

    /** 教师ID */
    //@Excel(name = "授课教师ID")
    private Long teacherId;

    @Excel(name = "授课教师")
    private String teacherName;

    List<Teacher> teacherList;

    /** 授课学时 */
    @Excel(name = "授课学时")
    private Long teachHours;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setArrangementId(Long arrangementId) 
    {
        this.arrangementId = arrangementId;
    }

    public Long getArrangementId() 
    {
        return arrangementId;
    }

    public void setTeacherId(Long teacherId) 
    {
        this.teacherId = teacherId;
    }

    public Long getTeacherId() 
    {
        return teacherId;
    }

    public void setTeachHours(Long teachHours) 
    {
        this.teachHours = teachHours;
    }

    public Long getTeachHours() 
    {
        return teachHours;
    }

    public Long getCourseId() {
        return courseId;
    }

    public void setCourseId(Long courseId) {
        this.courseId = courseId;
    }

    public String getCourseName() {
        return courseName;
    }

    public void setCourseName(String courseName) {
        this.courseName = courseName;
    }

    public String getTeacherName() {
        return teacherName;
    }

    public void setTeacherName(String teacherName) {
        this.teacherName = teacherName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("arrangementId", getArrangementId())
            .append("teacherId", getTeacherId())
            .append("teachHours", getTeachHours())
            .append("createTime", getCreateTime())
            .toString();
    }
}
